export default {
  // 添加内容相对应的提示
  PrContent: {
    Dish_types: [{
        required: true,
        message: "请输入名称",
        trigger: "blur"
      },
      {
        min: 1,
        max: 10,
        message: "长度在 1 到 10 个字符",
        trigger: "blur",
      },
    ],
    Dish_classification: [{
      required: true,
      message: "请选择类型",
      trigger: "change"
    }],
    Dish_name: [{
        required: true,
        message: "请输入名称",
        trigger: "blur"
      },
      {
        min: 1,
        max: 10,
        message: "长度在 1 到 10 个字符",
        trigger: "blur",
      },
    ],
    Dish_price: [{
        required: true,
        message: "金额不能为空"
      },
      {
        type: "number",
        message: "价格必须是数值"
      },
    ],
    Dish_flavor: [{
      required: true,
      message: "请输入名称",
      trigger: "blur"
    },
    {
      min: 1,
      max: 10,
      message: "长度在 1 到 10 个字符",
      trigger: "blur",
    },]
  },
}
